/* header */

.header-top {
    display: flex;
    height: 50px;
    padding: 0;
    justify-content: space-evenly;
    align-items: center;
}

.header-customer-address {
    height: 20px;
    line-height: 20px;
    outline: none;
    border: none;
    color: #454748;
    cursor: pointer;
    font-size: 14px;
    background-color: transparent;
}

.header-customer-address:focus {
    cursor: text;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%);
}

.submenu li {
    float: left;
    padding-right: 10px;
    margin-right: 10px;
    border-right: 1px solid #aaa;
}

.submenu .last {
    margin: 0;
    padding: 0;
    border: 0;
}

.header-body {
    height: 150px;
    padding: 0 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
}

.header-body-left {
    display: flex;
    align-items: center;
}

.header-body-left-logo {
    width: 200px;
    height: 80px;
    background: url(/img/banner.png) no-repeat center / cover;
}

.header-body-left-ads {
    width: 100px;
    height: 60px;
    margin-left: 20px;
    background: url(/img/banner.png) no-repeat center / cover;
}

.search-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-tags {
    position: absolute;
    top: 50px;
}

.search-tags li {
    float: left;
    margin-left: 15px;
}

.search-tags .first {
    margin: 0;
}

.search-input {
    width: 500px;
    height: 35px;
    line-height: 35x;
    outline: none;
    padding: 3px 6px;
    box-sizing: border-box;
    border: 1px solid #778899;
}

.search-input:focus {
    border-color: lightseagreen;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%);
}

.search-btn {
    width: 110px;
    height: 35px;
    line-height: 35px;
    margin-left: 8px;
    outline: none;
    text-align: center;
    cursor: pointer;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 16px;
    color: #666;
    border: 1px solid #d6d6d6;
    background-color: #f9f9f9;
    transition: all .3s;
}

.shopcar-btn {
    position: relative;
    display: inline-block;
    width: 180px;
    height: 40px;
    line-height: 40px;
    color: #666;
    text-align: center;
    background-color: #f9f9f9;
    border: 1px solid #f2f2f2;
    box-shadow: 0 0 2px #aaa;
    transition: all .3s;
}

.search-btn:hover,
.shopcar-btn:hover {
    color: #333;
    background-color: #f0f0f0;
}

.shopcar-text::after {
    content: '';
    width: 8px;
    height: 8px;
    border: 1px solid #aaa;
    border-left: 0;
    border-bottom: 0;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) rotate(45deg);
}

.shopcar-amount {
    position: absolute;
    top: -5px;
    width: 16px;
    height: 15px;
    line-height: 15px;
    text-align: center;
    border-radius: 50%;
    background-color: #c81623;
    color: #fff;
}

.shopcar-amount::after {
    content: '';
    position: absolute;
    left: -4px;
    bottom: -4px;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-top-color: #c81623;
    transform: rotate(45deg);
}

.shopcar-icon {
    position: absolute;
    left: 20px;
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-top: 7px;
    background: url(/img/shopcar.png) no-repeat center / cover;
}

.header-footer-wrap {
    padding: 0 100px;
    background-color: #fff;
}

.header-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #666;
}

.header-footer a {
    display: inline-block;
    padding: 12px 40px;
    text-align: center;
    color: #454748;
    font-size: 18px;
    border: 1px solid transparent;
}

.header-footer .active {
    background-color: #F4F6FA;
    color: #000;
    border: 1px solid #778899;
    border-bottom: 1px solid transparent;
}